package com.yunfangdata.query;

import com.alibaba.druid.util.StringUtils;
import lombok.Getter;
import lombok.Setter;

@Setter
@Getter
public class StaffQueryObject extends QueryObject{

    private String name;
    private String way;
    private String duty;
    private String education;

    public String getName(){
        return StringUtils.isEmpty(name) ? null : name;
    }
    public String getWay(){
        return StringUtils.isEmpty(way) ? null : way;
    }
    public String getDuty(){
        return StringUtils.isEmpty(duty) ? null : duty;
    }
    public String getEducation(){
        return StringUtils.isEmpty(education) ? null : education;
    }
}
